package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import lombok.Data;

@ApiModel(value = "com-shycloud-mido-member-api-entity-AtvActionData")
@Data
@TableName(value = "atv_action_data")
public class AtvActionData {

	/** 主键 */
	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "主键")
	private String id;
	/** 活动ID */
	@TableField(value = "main_active_id")
	@ApiModelProperty(value = "活动ID")
	private String mainActiveId;
	/** 用户ID */
	@TableField(value = "member_id")
	@ApiModelProperty(value = "用户ID")
	private String memberId;
	/** 作业日期 */
	@TableField(value = "work_datetime")
	@ApiModelProperty(value = "作业日期")
	private Date workDatetime;
	/** 作业时长(秒) */
	@TableField(value = "work_duration")
	@ApiModelProperty(value = "作业时长(秒)")
	private Integer workDuration;
	/** 0-正常，1-删除 */
	@TableField(value = "del_flag")
	@ApiModelProperty(value = "0-正常，1-删除")
	private String delFlag;
	/** 创建人 */
	@TableField(value = "create_user")
	@ApiModelProperty(value = "创建人")
	private String createUser;
	/** 创建时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/** 更新人 */
	@TableField(value = "update_user")
	@ApiModelProperty(value = "更新人")
	private String updateUser;
	/** 更新时间 */
	@TableField(value = "update_time")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	public static final String COL_ID = "id";

	public static final String COL_MAIN_ACTIVE_ID = "main_active_id";

	public static final String COL_MEMBER_ID = "member_id";

	public static final String COL_WORK_DATETIME = "work_datetime";

	public static final String COL_WORK_DURATION = "work_duration";

	public static final String COL_DEL_FLAG = "del_flag";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";
}